﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="ConfirmPwd.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.ConfirmPwd"
    Title="密码修改" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="maincon">
        <div id="note">
            密码修改 <span>*为必填项</span></div>
        <div id="note2">
        </div>
        <table>
            <tr>
                <th width="150px">
                    <asp:Label ID="Label1" runat="server" Text="当前用户："></asp:Label>
                </th>
                <td align="left">
                    <%=HZ.DrugTrade.Web.CurrentAccount.GetUser().UserID + "（" + HZ.DrugTrade.Web.CurrentAccount.GetUser().UserName+ "）"%>
                </td>
            </tr>
            <tr>
                <th width="150px">
                    <asp:Label ID="Label2" runat="server" Text="原 密 码："></asp:Label>
                </th>
                <td align="left">
                    <asp:TextBox ID="txtOriPwd" runat="server" TextMode="Password" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOriPwd"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    <asp:Label ID="Label3" runat="server" Text="新 密 码："></asp:Label>
                </th>
                <td align="left">
                    <asp:TextBox ID="txtNewPwd" runat="server" TextMode="Password"  MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPwd"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    <asp:Label ID="Label4" runat="server" Text="确认密码："></asp:Label>
                </th>
                <td align="left">
                    <asp:TextBox ID="txtComfirmNewPwd" runat="server" TextMode="Password" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtComfirmNewPwd"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPwd"
                        ControlToValidate="txtComfirmNewPwd" Display="Dynamic" ErrorMessage="两次输入的密码不一致！"></asp:CompareValidator>
                </td>
            </tr>
        </table>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span> 密码长度不超过20位，不少于6位。</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnComfirmPwd" runat="server" OnClick="btnComfirmPwd_Click" Text="确认"
            CssClass="btn" />
    </div>
</asp:Content>
